<!DOCTYPE html>
<html>
<head>
<title> Wikitechy AngularJS Tutorials</title>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular.min.js">
</script>
</head>
<body ng-app="">
<h2>ng-paste Directive in AngularJS Tutorials</h2>
<lable>Paste the text:</lable>
<input ng-paste="count = count + 1" ng-init="count=0">
<h3>Pasted: {{count}} times</h3>
<h3> The "count" value will be increased when the text
pasted into the input field
</h3>
</body>
</html>